#include "Gauss2DTria3P.h"

using namespace SG::FEMSolver::Element;

std::size_t SG::FEMSolver::Element::Gauss2DTria3P::nPoint = 3;

Gauss2DTria3P::Gauss2DTria3P ()
:integPointSet (nPoint)
{
    integPointSet[0].m_x      = 1.0 / 6.0;
    integPointSet[0].m_y      = 1.0 / 6.0;
    integPointSet[0].m_z      = 0.0;
    integPointSet[0].m_weight = 1.0 / 3.0;

    integPointSet[1].m_x      = 2.0 / 3.0;
    integPointSet[1].m_y      = 1.0 / 6.0;
    integPointSet[1].m_z      = 0.0;
    integPointSet[1].m_weight = 1.0 / 3.0;

    integPointSet[2].m_x      = 1.0 / 6.0;
    integPointSet[2].m_y      = 2.0 / 3.0;
    integPointSet[2].m_z      = 0.0;
    integPointSet[2].m_weight = 1.0 / 3.0;
}
